package org.andes.help.struct;



import java.util.ArrayList;
import java.util.List;

import lisp.SExp;

/**
 * Created by IntelliJ IDEA. User: wenfeix Date: 2011-2-1 Time: 21:02:25 To
 * change this template use File | Settings | File Templates.
 */

//(defstruct (cssg (:type list))
//		  (Label 'sg)
//		  op
//		  goal)

public class SGNode extends PsmNode {
	private String Label;
	private SExp op;
	public SExp getOp(){
		return op;
	}
	private SExp goal;
	public SExp getGoal(){
		return goal;
	}


	public void readContent(SExp sexp) {
		List<SExp> elemList = sexp.toList();
		op = elemList.get(1);
		goal = elemList.get(2);		
	}
}
